package com.ruoyi.labormgr.domain;

/**
 * 新建对象用于下拉框传值
 *
 */
public class Operation {

    private Long key;
    private String value;

    public Operation(Long key, String value){
        this.key = key;
        this.value = value;
    }

    public void setKey(Long key) {
        this.key = key;
    }
    public Long getKey() {
        return key;
    }

    public void setValue(String value) {
        this.value = value;
    }
    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return "Operation{" +
                "operationId=" + key +
                ", operationName='" + value + '\'' +
                '}';
    }
}
